package com.example.light.redis;

public class UserKey extends BasePrefix {

    private UserKey(String prefix) {
        super(prefix);
    }

    public UserKey(int expire,String prefix){
        super(expire,prefix);
    }


    public static KeyPrefix token = new UserKey(3600 * 24 * 2,"tk");

    public static UserKey getUserById = new UserKey("id");
    public static UserKey getUserByName = new UserKey("name");
}
